#pragma once
#include "MessengerEventBase.h"
#include "component/Collider.h"



namespace Boon
{

	class BOON_API Event_Physics_Collider : public MessengerEventBase
	{
	public:
		enum ColliderEventID
		{
			C_CREATED,
			C_REMOVED,
			C_UPDATED
		};

		static const EventType				ID = 0x6a65a5ec;

		Event_Physics_Collider( const ColliderEventID e, Collider& c );

		virtual const EventType				GetEventID() const;
		virtual void						Serialize( std::ostream& out ) const;
		virtual IMessengerEventStrong		Copy() const;
		virtual const char*					GetName() const;


		const ColliderEventID				m_Event;
		Collider&							m_Collider;

	};
};

